home *** CD-ROM | disk | FTP | other *** search
- @echo off
- Rem
- Rem []==================================================================[]
- Rem [] RAMEDIT.BAT []
- Rem [] []
- Rem [] Installs (deinstalls) the auxillary pEDIT files on a ram disk []
- Rem [] for speed. Loading the INI file and shelling to DOS will be []
- Rem [] much faster. Note that PEDIT.EXE is not moved. This version is []
- Rem [] set up for the following (you may have to make changes): []
- Rem [] []
- Rem [] (1) pEDIT files in C:\PEDIT []
- Rem [] (2) RAM drive is drive D: []
- Rem [] (3) pEDIT uses STD macros []
- Rem [] []
- Rem [] The usage is : RAMEDIT I (Install) []
- Rem [] RAMEDIT D (Deinstall) []
- Rem []==================================================================[]
- Rem
- if "%1"=="I" goto Install
- if "%1"=="i" goto Install
- if "%1"=="D" goto DeInstall
- if "%1"=="d" goto DeInstall
- goto Abort
- :Install
- set PEDIT=D:\
- copy C:\PEDIT\PEDIT.KEY D:\ >nul
- copy C:\PEDIT\PEDIT.INI D:\ >nul
- copy C:\PEDIT\PEDIT.HLP D:\ >nul
- copy C:\PEDIT\PEDIT.BAR D:\ >nul
- copy C:\PEDIT\PEDIT.SHR D:\ >nul
- copy C:\PEDIT\PEDIT.BTN D:\ >nul
- copy C:\PEDIT\PEDIT.INF D:\ >nul
- copy C:\PEDIT\STD*.PM1 D:\ >nul
- goto Exit
- :DeInstall
- set PEDIT=C:\PEDIT
- del D:\PEDIT.KEY
- del D:\PEDIT.INI
- del D:\PEDIT.HLP
- del D:\PEDIT.BAR
- del D:\PEDIT.SHR
- del D:\PEDIT.BTN
- copy D:\PEDIT.INF C:\PEDIT >nul
- del D:\PEDIT.INF
- del D:\STD*.PM1
- goto Exit
- :Abort
- echo Usage is: RAMEDIT I/D
- :Exit
-